package apiday05home;

import java.io.File;

public class Test02 {
    public static void main(String[] args) {
        for(int i=1;i<=100;i++){
            File file = new File(i+".txt");
            file.delete();
        }
        System.out.println("已删除");
    }
}
